import request from '@/utils/request'

// 战令
/**
 * @param {page,limit} data 
 * @returns 
 */

export function warList(data) {
    return request({
        url: '/admin/war/gradeList',
        method: 'post',
        data
    })
}

export function addWarList(data) {
    return request({
        url: '/admin/war/addBdGrade',
        method: 'post',
        data
    })
}

export function editWarList(data) {
    return request({
        url: '/admin/war/editBdGrade',
        method: 'post',
        data
    })
}

export function warSet(data) {
    return request({
        url: '/admin/war/configView',
        method: 'post',
        data
    })
}

export function warSettings(data) {
    return request({
        url: '/admin/war/setWar',
        method: 'post',
        data
    })
}